package org.spring.security.oauth2.resource.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.oauth2.authserver.AuthorizationServerProperties;
import org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;


@SpringBootApplication
@EnableConfigurationProperties({OauthClientProperties.class, AuthorizationServerProperties.class, OauthResourceProperties.class})
public class Resource1App {

    public static void main(String[] args) {
        SpringApplication.run(Resource1App.class, args);
    }

}
